<?php
/****
* (未完成)
* 讨论\话题模块 扎堆聊天功能是一定要有的囧rz
****/
class TopicAction extends InitAction{
    protected function _initialize(){
        parent::_initialize();
    }
    public function index(){
        $this->assign('topics', $this->getAll);
    }
    public function id(){
        
        $this->assign('mainTopic', $this->getTopic);
    }
    public function getAll($aid){
        $topics= array();
        
        return $topics;
    }
    /****
    * @return 
    */
    public function getTopic($id){
        $topics= array();
        $TReply= new TopicModel('sub');
        
        return $topics;
    }
}
?>